//
//  IGReportTopicTypeApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/13.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGReportTypeApi.h"

@implementation IGReportTypeApi
    
- (NSString *)requestUrl {
    return @"circle/report/findList";
}

- (NSInteger)cacheTimeInSeconds {
    return 30;
}

@end

@implementation IGReportType : IGBaseModel
    
+ (JSONKeyMapper *)keyMapper {
    return [[JSONKeyMapper alloc]
            initWithModelToJSONDictionary:@{
                                            @"typeId":@"id",
                                            @"typeName":@"name"
                                            }];
}
    
+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    if ([propertyName isEqualToString:@"isSelected"]) {
        return YES;
    }
    return NO;
}
    
@end

@implementation IGReportTypeModel
    
@end

@implementation IGReportTypeResp

@end
